@foreach($gifts as $gift)
    <div class="Envelope">
        <div class="top clear">
            <p class="fl">{{$gift->name}}</p>
            <span class="fr">{{$gift->money}}<i>元</i></span>
        </div>
        <div class="bottom clear">
            <p class="fl">{{substr($gift->end_time,0,10)}}前可用@if(empty($gift->used_rule))@else{{'('.$code_list['gift_money_used_rule'][$gift->used_rule]->name}}{{$gift->used_rule_money.'可用)'}}@endif </p>
            <span class="fr">{{$code_list['gift_activity_type'][$gift->type_id]->name}}</span>
        </div>
    </div>
@endforeach
